20230322
[shlib.git] / testing / 2.scripttest_testing.Testing for scripttest.unit / 6.scripttest_test_range.Testsuite about test range.dir / 4.scripttest_param_F.sh
blob42a283148114cb344590af2b92ae41c4e6d892d5
1 #!/bin/bash
3 ############################################################
4 # Copyright (C) 2022- Free Software Foundation, Inc.
5 # This configure script is free software; the Free Software
6 # Foundation gives unlimited permission to copy, distribute
7 # and modify it.
9 . shlibinc
10 include stdio.shlib
11 include dbgout.shlib
14 init_dbglogout 2 testing 20000
16 dbgout "$0\n"
18 dbgout_cmd echo XXX
20 cd scripts
22 dbgout "================================\n"
23 dbgout "clean testing temp dir.\n"
24 dbgout "================================\n"
25 scripttest -c
28 # 测试程序的version信息输出
30 dbgout "================================\n"
31 dbgout "test 2 items, and update, then test 5 items, it record 3 failed item.\n"
32 dbgout "================================\n"
33 scripttest -n 2 -q -r -u
34 scripttest -n 5 -q -r
36 # 测试有3项failed,-F参数只测failed项
37 dbgout "================================\n"
38 dbgout "test the failed list items.\n"
39 dbgout "================================\n"
40 scripttest -F -q
42 # -F参数时的-r参数
43 dbgout "================================\n"
44 dbgout "test the failed list items continously.\n"
45 dbgout "================================\n"
46 scripttest -F -r -q
48 dbgout "================================\n"